package communication;

import storageclasses.Bank;
import storageclasses.MedicalRecord;
import storageclasses.ReadFile;

public class ServerMain {
	public static void main(String[] args) {
		ReadFile rf = new ReadFile("register.txt");
		String[][] personellMatrix = rf.readFile();
		Bank bank = new Bank();
		MedicalRecord medrec = new MedicalRecord("8804261496", "8811034092", "lund",
				"everlof har klamydia");
		MedicalRecord medrec2 = new MedicalRecord("8804261496", "8811034092", "lund",
		"everlof fortf har klamydia");
		bank.addRecord("841", "88296", medrec, 2);
		bank.addRecord("41974", "88044196", medrec2, 2);
		
		new Server(bank, personellMatrix);
	}
}
